package com.hundsun.aitest.util;

import java.util.HashMap;
import java.util.Map;

public class DirNameMapper {
    private static DirNameMapper instance;
    private Map<String, String> map;

    private DirNameMapper() {
        this.map = new HashMap<>();

        this.map.put("FK", "风控");
    }

    // 获取静态实例
    public static DirNameMapper getInstance() {
        if (instance == null) {
            synchronized (DirNameMapper.class) {
                if (instance == null) {
                    instance = new DirNameMapper();
                }
            }
        }
        return instance;
    }

    public String getValue(String key) {
        return this.map.get(key);
    }
}
